export class StaffMod {
    recruitId?:string;
    recruitTargetId?:string;
    name: string;
    sex: string;
    birthday: any;
    mobileList: Array<mobileList>;
    education:string; //学历
    workingYears:string; //工作年限
    income:string;  //收入状况
    childNum: string;
    source: string; //来源
    isMarry: string; //婚否
    checkMobile:boolean;
}

export class LocalStaffMod {
    clientId?: string;
    name: string;
    sex: string;
    birthday: any;
    mobileList: Array<mobileList>;
    education:string; //学历
    workingYears:string; //工作年限
    income:string;  //收入状况
    childNum: string;
    source: string; //来源
    isMarry: string; //婚否

    public static ModelToLocal(mod1: StaffMod) {
        const mod2 = new LocalStaffMod();

        // mod2.mobileList = mod1.mobileList;
        // mod2.addressList = mod1.addressList;
        // mod2.clientId = mod1.clientId;
        // mod2.marriageType = mod1.marriageType;
        // mod2.childNum = mod1.childNum;
        // mod2.clientId = mod1.clientId;
        // mod2.carOwnership = mod1.carOwnership;

        return mod2;
    }
}

export class mobileList {
    mobile: string;
    isDel:boolean=false;
    id:string;
}



